FROM java:8
ADD mall-portal/target/mall-portal-1.0-SNAPSHOT.jar //
ENTRYPOINT ["java", "-jar","-server","-XX:+HeapDumpOnOutOfMemoryError","-XX:HeapDumpPath=/var/logs/mall-portal-gc.heap ","/mall-portal-1.0-SNAPSHOT.jar"]